<?php
// Setting Environment
define('WP_USE_THEMES', false);

//die();

$uriparts = explode('/',$_SERVER['REQUEST_URI']);
require_once("{$_SERVER['DOCUMENT_ROOT']}/{$uriparts[1]}/wp-blog-header.php");
//require_once("C:/wamp/www/carbonpa-dev/wp-blog-header.php");

require_once(ABSPATH . '/wp-admin/includes/plugin.php');
require_once(ABSPATH . WPINC . '/pluggable.php');


print_r($_POST);
echo 'ok';


print insert_proplayer(
     array(
        "width" => "410",
        "height" => "307",
     ),
     "http://www.youtube.com/watch?v=2YAvfxA6a94"
); 
?>